/* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            /* 将背景色改为背景图片 */
            background-image: url('http://i0.hdslb.com/bfs/new_dyn/5bb17fd94aa81273f4e2bd6feb4980a475878192.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            color: #333333;
            line-height: 1.6;
            /* 添加半透明遮罩使文字更清晰 */
            position: relative;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 头部样式 */
        header {
            background-color: #ffffffe9;
            padding: 15px 0;
            margin-bottom: 30px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 22px;
            font-weight: bold;
            color: #333;
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 8px;
            color: #e64a19;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 20px;
        }
        
        nav a {
            text-decoration: none;
            color: #555;
            font-size: 14px;
            transition: color 0.3s;
        }
        
        nav a:hover {
            color: #e64a19;
        }
        
        /* 主要内容区布局 */
        .main-layout {
            display: flex;
            gap: 30px;
        }
        
        /* 侧边栏样式 */
        .sidebar {
            width: 260px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .profile-card {
            background-color: #ffffffe9;
            border-radius: 12px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid rgba(255,255,255,0.8);
        }
        
        .username {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            font-size: 18px;
            margin-top: 15px;
        }
        
        .social-links a {
            color: #666;
            transition: color 0.3s;
            text-decoration: none;
        }
        
        .social-links a:hover {
            color: #e64a19;
        }
        
        .category-card {
            background-color: #ffffffe9;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .category-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            color: #333;
        }
        
        .category-title i {
            margin-right: 8px;
            color: #4caf50;
        }
        
        .category-list {
            list-style: none;
        }
        
        .category-item {
            margin-bottom: 10px;
            position: relative;
            padding-left: 20px;
        }
        
        .category-item:before {
            content: "•";
            position: absolute;
            left: 0;
            color: #4caf50;
        }
        
        .category-link {
            text-decoration: none;
            color: #555;
            font-size: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        
        .category-link:hover {
            color: #4caf50;
        }
        
        .category-count {
            color: #999;
            font-size: 12px;
        }
        
        .toggle-icon {
            transition: transform 0.3s ease;
            margin-left: 5px;
        }
        
        .toggle-icon.rotate {
            transform: rotate(90deg);
        }
        
        .subcategory-list {
            list-style: none;
            margin-top: 5px;
            margin-left: 15px;
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.3s ease;
        }
        
        .subcategory-list.expanded {
            max-height: 500px;
        }
        
        .subcategory-item {
            margin-bottom: 8px;
            padding-left: 15px;
            position: relative;
        }
        
        .subcategory-item:before {
            content: "◦";
            position: absolute;
            left: 0;
            color: #66bb6a;
            font-size: 10px;
        }
        
        .subcategory-link {
            text-decoration: none;
            color: #666;
            font-size: 13px;
        }
        
        .subcategory-link:hover {
            color: #4caf50;
        }
        
        /* 主内容区样式 */
        .content {
            flex: 1;
            background-color: #ffffffe9;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .welcome-section {
            margin-bottom: 40px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        
        .welcome-text {
            max-width: 600px;
        }
        
        .welcome-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #333;
        }
        
        .welcome-desc {
            color: #666;
            margin-bottom: 20px;
            line-height: 1.8;
        }
        
        .welcome-image {
            max-width: 200px;
        }
        
        .welcome-image img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }
        
        /* 博客列表样式 */
        .recent-blogs {
            margin-bottom: 40px;
        }
        
        .blogs-title {
            font-size: 22px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            color: #333;
        }
        
        .blogs-title i {
            margin-right: 10px;
            color: #e64a19;
        }
        
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }
        
        .blog-card {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        }
        
        .blog-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .blog-content {
            padding: 18px;
        }
        
        .blog-title {
            font-size: 18px;
            margin-bottom: 10px;
            color: #333;
        }
        
        .blog-excerpt {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .blog-meta {
            font-size: 12px;
            color: #999;
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .read-more {
            display: inline-block;
            color: #42a5f5;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .read-more:hover {
            color: #1976d2;
        }
        
        /* 响应式设计 */
        @media (max-width: 1024px) {
            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .main-layout {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                margin-bottom: 30px;
            }
            
            .welcome-section {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .welcome-image {
                margin-top: 20px;
                max-width: 150px;
            }
            
            .blog-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .header-content {
                flex-direction: column;
                gap: 15px;
            }
            
            nav ul {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .welcome-title {
                font-size: 24px;
            }
        }